home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 6 / CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso / cucd / prog / mui / modula / readme < prev    next >
Text File  |  1996-08-14  |  10KB  |  264 lines

  1.                        Modula-Interface for MUI 3.6
  2.  
  3.                      MUI (C) 1993-95 by Stefan Stuntz
  4.  
  5.                                    * * *
  6.  
  7.                          Modula Interfaces done by
  8.  
  9.                         Christian "Kochtopf" Scholz
  10.                              (up to MUI v2.2)
  11.  
  12.                              Olaf "Olf" Peters
  13.                            (MUI v3.1 and above)
  14.  
  15.                                    * * *
  16.  
  17.         Send reports to Olaf Peters <olf@informatik.uni-bremen.de>
  18.  
  19.                                    * * *
  20.  
  21.                     The Modula Interfaces are Freeware.
  22.  
  23.  
  24.  
  25. =============
  26. Release Notes
  27. =============
  28.  
  29. v3.6 (13.8.96, olf)
  30.  
  31. - updated the interfaces for MUI 3.6
  32.  
  33. v3.3.4 (5.6.96, olf)
  34.  
  35. - MuiL: moRedraw wrongly returned a value and the flags parameter was of
  36.     type LONGINT instead of MADFlagSet. (Soenke Tesch)
  37.  
  38. v3.3.3 (26.4.96, olf)
  39.  
  40. - MuiD: Grrr, misnamed the Settingsgroup Method (mp instead of mm).
  41.  
  42. v3.3.2 (25.4.96, olf)
  43.  
  44. - MuiD/MuiClasses: added missing Methods SettingsgroupGadgetsToConfig,
  45.     SettingsgroupConfigToGadgets and GetConfigItem (needed when developing
  46.     CustomClass-Prefs for MUI-Prefs).
  47.  
  48. - MuiClasses: OBJ_pen() now returns a pointer to an array of WORD, so you
  49.     can get the pennumber of a MUI-Pen by simply calling i.e.
  50.     OBJ_pen(obj)^[mpenHalfshine]
  51.  
  52. - MuiClasses: the mNotifyData structure was missing the mndObjectID - blame
  53.     Stuntzi ;-)
  54.  
  55. v3.3.1 (13.3.96, olf)
  56.  
  57. - as the StackParms compiler-option *may* lead into problems it has been
  58.     removed from the interfaces. (Stefan Tiemann)
  59.  
  60. - optimization: MuiClasses/FillMinMaxInfo now uses WITH and INC Statement,
  61.     saving some bytes when compiling. (Stefan Tiemann)
  62.  
  63. - optimization: MuiClasses/MakeDispatcher had a VAR parameter while the
  64.     Pointer is not being changed. (Stefan Tiemann)
  65.  
  66. - fixed a bug in MuiD.def/mInputHandlerNode: node had to be ed.MinNode, not
  67.     ed.MinNodePtr (Stefan Tiemann)
  68.  
  69. - MuiClassSupport: new procedure setSuper to set an attribute of your
  70.     superclass.
  71.  
  72. - fixed a bug in MuiClasses/MakeDispatcher that would badly crash the
  73.     machine when used in a public custom class (= library):
  74.     IClass^.dispatcher.data is reserved for MUI, now using
  75.     IClass^.userData. Nevertheless the bug didn't occur with private
  76.     customclasses.
  77.  
  78. - added the missing DataSpaceFind Method to MuiD.def and MuiClasses.def
  79.     (blame Stuntzi for forgetting it in the C-Headers ;-)
  80.  
  81. v3.3 (21.2.96, olf)
  82.  
  83. - updated the interfaces for MUI 3.3
  84.  
  85. - ATTENTION: new parameter 'flags' for moObtainPen()!
  86.  
  87. v3.2.2 (7.2.96, olf)
  88.  
  89. - introduced MuiClassSupport: some functions to make life easier when
  90.     creating own customclasses. See docs/MuiClassSupport.doc for
  91.     documentation, Class2.mod and Class3.mod for example usage.
  92.  
  93. - when using MUIOBSOLETE=TRUE in MuiMacros, the TagBuffer was too small.
  94.     Fixed. (Marc Ewert)
  95.  
  96. - Demosources now also use MuiClassSupport and do compile again. They
  97.     didn't in v3.2.1 due to the changes from Stefan Schulz (APTR moved to
  98.     MuiD).
  99.  
  100. v3.2.1 (3.2.96, olf)
  101.  
  102. - updated the interfaces for MUI 3.2
  103.  
  104. - included Stuntzi's automatic headers (these have not been updated in the
  105.     MUI 3.2 distribution)
  106.  
  107. - included some changes from Stefan 'eau' Schulz and Christian 'Kochtopf'
  108.     Scholz (Thanks!)
  109.  
  110. - fixed MOLabelFlags (flags were misaligned, thanks to Marc Ewert for
  111.     reporting!)
  112.  
  113. v3.1.1 (27.11.95, olf)
  114.  
  115. - MuiD.def now really has the MUIOBSOLETE compiler option. This was missing
  116.   in the MUI 3.1 release.
  117.  
  118. - due to Stuntzi's automatic headerfile generation, MUI2COMPAT will not be
  119.   supported any longer.
  120.  
  121. - Demos now compile with MUIOBSOLETE set to FALSE, which also means they
  122.   will only run with MUI 3 (and above). Be careful, they do *not* check
  123.   which MUI version you're using!
  124.  
  125. ----- BEGIN Olf's Notes for v3.1 ------------------------------------------
  126.  
  127. While updating the Modula interfaces to MUI-3 I have made some minor
  128. changes to MUIClasses (to make them more "Modula-like"), so don't wonder,
  129. if your programs do not compiled out of the box with the new interface.
  130. However my changes should not affect too many programs, so I hope you can
  131. live with them.
  132.  
  133. Also there are some compiler-options in the modules which may need some
  134. explanation, they are:
  135.  
  136.   MUIOBSOLETE
  137.  
  138. set this to TRUE to enable all the tags that have been declared obsolete
  139. during MUI-development. *Please* try to update your programs so they
  140. compile with MUIOBSOLETE set to FALSE.
  141.  
  142.   MUI2COMPAT
  143.  
  144. In MUI-3 some tags have been declared obsolete which have been heavily used
  145. in MUI-2 apps (i.e. maWindowCycleChain). If you want your programs to be
  146. MUI-2 compatible, but have eliminated all your MUIOBSOLETE tags, you should
  147. set this option to TRUE.
  148.  
  149.   MUI3
  150.  
  151. In MuiMacros some MUI-3 specific Macrocalls have been added. If you set
  152. this attribute to FALSE they will be excluded from compilation, so you may
  153. check if your application will still run under MUI-2. I have not included
  154. this option in MuiD and MuiClasses because of lazyness ;-)
  155.  
  156. The interfaces are not too heavily tested, but I'm currently developing a
  157. bigger application with them (which also uses custom-classes). At least I
  158. didn't discover any bugs until now (Nov 18, 1995) :-)
  159.  
  160. Anyway, if you discover any bugs or missing tags, please contact Christian
  161. or me, to ensure they are included in the next release of the Interfaces.
  162.  
  163. My address is:
  164.  
  165. Olaf Peters
  166. Kulmer Str. 7
  167. 28237 Bremen
  168.  
  169. eMail preferred: olf@informatik.uni-bremen.de
  170.  
  171. Have fun!
  172.  
  173.   Olf
  174.  
  175. ----- END Olf's Notes -----------------------------------------------------
  176.  
  177.  
  178. Here are the files you need to write MUI-Programs with M2Amiga.
  179. Present are in this version the macros defined in mui.h. They are
  180. implemented in MuiMacros and in MuiClasses (the ones related to
  181. custom-class-programming)
  182.  
  183.  
  184. Description of the files :
  185.  
  186.     MuiD.def        : Definitions of MethodIDs, AttributeIDs, etc.
  187.     MuiD.mod        : Some additional PROCEDUREs for some #define's in mui.h
  188.     MuiL.def        : The interface for muimaster.library
  189.     MuiSupport.def  : Additional PROCEDUREs like DoMethod or fail.
  190.     MuiSupport.mod  : The implementation of these PROCEDUREs.
  191.     MuiMacros.def   : Some Macros converted from mui.h
  192.     MuiMacros.mod   : The implementation of these.
  193.     MuiClasses.def  : some things you need to write own classes
  194.     MuiClasses.mod  : implementation of the macros defined in mui.h for classes
  195.     MuiTest.mod     : A sample Module showing how to use the interface.
  196.     ListDemo.mod    : A sample Listview programm showing an DisplayHook!
  197.     Class1.mod      : A sample Module showing how to write own classes in M2.
  198.  
  199.     In this version you have to compile the interface yourself.
  200.     For this can you use the CompilerScript. It will compile the
  201.     interface and copy the files to m2:modules/sym|obj.
  202.  
  203.  
  204. The History :
  205.  
  206. 22.10.1993 MuiSupport : changed fail-PROCEDURE, that it makes no use of
  207.                         Terminal, but now uses Arts.Requester.
  208.            MuiMacros  : Added macros AddMember, DelMember, MakeHook,
  209.                         MakeID, PopUp
  210. 26.10.1993 supplied CompilerScript
  211. 9.2.1994   MuiD       : Updates to 1.5 (Popasl, Popstring, PopObject... )
  212.                         added mPaletteEntry, mScrmodelist.
  213.            MuiL       : Updates to 1.5 (Custom Class Functions)
  214.                         changed return-value of mAslRequest to BOOLEAN 
  215.                                                 (thanx to Thilo Stoeferle)
  216.                         provided muiMasterVersion, etc. like System-Defs.
  217.            MuiSupport : fail will set app to NIL, now VAR-parameter 
  218.                         (so you can use it in a CLOSE-Routine)
  219.                                                 (thanx to Martin Koyro)
  220.            MuiMacros  : now it supports StrPtr instead of ARRAY OF CHAR.
  221.                         set the symbol Locale to TRUE to get it. (defaults to FALSE)
  222.                         added some macros by Martin Koyro (KeyRadio, (Key)Cycle, (Key)Slider)
  223.            MuiClasses : new Module which implements things to write own classes.
  224.            ComboBox   : removed - use PopObject for a Popup-List.
  225.            ListDemo   : New Demo to show how to do lists.
  226. 18.2.1994  MuiMacros  : Added functions for Register and the Pop*-Classes.
  227.                         Added some new Label-Macros (LLabel,... )
  228.            MUIClasses : Added some macro-definitions and rearranged a bit the
  229.                         module. Now you can do easily custom classes with it.
  230.                         (i hope :) So look at it for more info and look also
  231.                         at Class1.mod which shows how it is used.
  232.            Class1.mod : new demo which shows how to do custom classes.
  233. 25.6.1994  MuiD,      
  234.            MuiMacros,
  235.            MuiL       : upgraded to version 2.1
  236.                         added a new symbol MUIObsolete to MuiMacros. Set it to true,
  237.                         if you want the obsolete Macros, now you should use mMakeObj
  238.                         for them.
  239.                         Problems with MakeObject-Definition - does not work.
  240.                         I don't know why - you ? ;-) Please tell me!
  241.                         (so you should set MuiObsolete to TRUE ;-)
  242.  
  243.            MuiClasses : changed name from MUIClasses to MuiClasses - please note!!
  244. 11.7.1994  MuiL.def   : changed MakeObject to use the right registers. Now works!!
  245.  
  246.  
  247. Note :
  248.  
  249. This time I just wanted to say that this stuff is _completely_ untested because of lack
  250. of time. I am just happy that it compiles ;-)
  251. I think that I have the next days some free hours to play with the new MUI (perhaps
  252. writing a class :-)
  253. Perhaps I will then release a new version on aminet...
  254.  
  255. For bug-reports or suggestion please send me a note. Thanks.
  256.  
  257. My email-address :
  258.  
  259.     ruebe@pool.informatik.rwth-aachen.de
  260.  
  261.  
  262. Greets,
  263.      Kochtopf
  264.